#include "evaluation.h"

Evaluation::Evaluation() {
    qDebug()<<"Evaluation::Evaluation called.";
    method=nullptr;
    target=nullptr;
    score=nullptr;
    qDebug()<<"Evaluation::Evaluation returned.";
}

void Evaluation::setMethod(QStringList *m) {
    qDebug()<<"Evaluation::setMethod called.";
    if(method!=nullptr) delete method;
    method=m;
    qDebug()<<"Evaluation::setMethod returned.";
}

void Evaluation::setTarget(QStringList *t) {
    qDebug()<<"Evaluation::setTarget called.";
    if(target!=nullptr) delete target;
    target=t;
    qDebug()<<"Evaluation::setTarget returned.";
}

void Evaluation::setScore(QVector<QVector<double> > *s) {
    qDebug()<<"Evaluation::setScore called.";
    if(score!=nullptr) delete score;
    score=s;
    qDebug()<<"Evaluation::setScore returned.";
}
